Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.webapp.seam.debug.action--actions

This contribution is part of XML component org.nuxeo.ecm.webapp.seam.debug.action inside nuxeo-platform-webapp-base-5.8.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action enabled="true" id="devModeFlush" label="Dev mode: force flush" link="#{seamReload.doFlush}" order="100">
          <category>USER_MENU_ACTIONS</category>
          <filter-id>devModeEnabledForAdmin</filter-id>
        </action>
  • <action enabled="true" id="seamReload" label="Reload Seam" link="#{seamReload.doReload}" order="50">
          <category>USER_MENU_ACTIONS</category>
          <filter-id>seamHotReloadIsEnabled</filter-id>
        </action>
  • <action icon="/icons/pdf_export.png" id="exportViewPDFExport" label="label.exportview.pdfExport" link="#{restHelper.getDocumentUrl(currentDocument, 'pdf', true)}" order="0">
          <category>DOCUMENT_EXPORT_VIEW_ACTION</category>
        </action>
  • <action icon="/icons/action_export_zip.gif" id="exportViewZipBlobExport" label="label.exportview.zipBlobExport" link="#{clipboardActions.exportWorklistAsZip(currentDocument)}">
          <category>DOCUMENT_EXPORT_VIEW_COMMAND_ACTION</category>
        </action>
  • <action icon="/icons/contextual_menu/unlocked.png" id="documentLock" label="command.lock" link="#{lockActions.lockCurrentDocument}" order="10" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_lock</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/locked.png" id="documentUnlock" label="command.unlock" link="#{lockActions.unlockCurrentDocument}" order="10" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_unlock</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action accessKey="k" icon="/icons/contextual_menu/share.png" id="permalinkAction" label="label.permalink" order="20" type="fancybox">
          <category>DOCUMENT_UPPER_ACTION</category>
          <properties>
            <property name="include">/incl/permalink_box.xhtml</property>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/download.png" id="downloadAction" label="label.document.download" link="#{operationActionBean.doOperation('downloadFilesZip')}" order="30" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>documentHasBlobs</filter-id>
        </action>
  • <action icon="/icons/contextual_menu/subscribe.png" id="subscribesAllDocNotifications" label="label.subscriptions.follow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>hasNoSubscriptions</filter-id>
          <filter-id>canSubscribe</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/unsubscribe.png" id="unsubscribesAllDocNotifications" label="label.subscriptions.unfollow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>hasSubscriptions</filter-id>
          <filter-id>canSubscribe</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/action_add.gif" id="addCurrentDocumentToWorklist" immediate="true" label="help.command.clipboard.addworklist" link="#{operationActionBean.doOperation('addCurrentDocumentToWorklist')}" order="60" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>not_folder</filter-id>
          <filter-id>not_anonymous</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/printer.gif" id="print" label="label.print" link="#{restHelper.doPrint(themeActions.defaultTheme)}" order="70">
          <category>DOCUMENT_UPPER_ACTION</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="restoreVersion" immediate="true" label="command.undeleteDocs" link="#{deleteActions.restoreCurrentDocument}" order="1">
          <category>DOCUMENT_SUMMARY_CUSTOM_ACTIONS</category>
          <filter-id>restoreVersionDisplay</filter-id>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action enabled="true" id="devModeFlush" label="Dev mode: force flush" link="#{seamReload.doFlush}" order="100">
      <category>USER_MENU_ACTIONS</category>
      <filter-id>devModeEnabledForAdmin</filter-id>
    </action>

    <action enabled="true" id="seamReload" label="Reload Seam" link="#{seamReload.doReload}" order="50">
      <category>USER_MENU_ACTIONS</category>
      <filter-id>seamHotReloadIsEnabled</filter-id>
    </action>

    <!-- NXP-7025: disable pdf export on doc -->
    <!--
      <action id="pdfExport" link="pdf" order="18"
      label="label.exportview.pdfExport" icon="/icons/pdf_export.png">
      <category>DOCUMENT_UPPER_ACTION</category>
      </action>
    -->

    <action icon="/icons/pdf_export.png" id="exportViewPDFExport" label="label.exportview.pdfExport" link="#{restHelper.getDocumentUrl(currentDocument, 'pdf', true)}" order="0">
      <category>DOCUMENT_EXPORT_VIEW_ACTION</category>
    </action>

    <action icon="/icons/action_export_zip.gif" id="exportViewZipBlobExport" label="label.exportview.zipBlobExport" link="#{clipboardActions.exportWorklistAsZip(currentDocument)}">
      <category>DOCUMENT_EXPORT_VIEW_COMMAND_ACTION</category>
    </action>

    <!-- Contextual tools buttons contrib NXP-9039 -->
    <action icon="/icons/contextual_menu/unlocked.png" id="documentLock" label="command.lock" link="#{lockActions.lockCurrentDocument}" order="10" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_lock</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/locked.png" id="documentUnlock" label="command.unlock" link="#{lockActions.unlockCurrentDocument}" order="10" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_unlock</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action accessKey="k" icon="/icons/contextual_menu/share.png" id="permalinkAction" label="label.permalink" order="20" type="fancybox">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="include">/incl/permalink_box.xhtml</property>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/download.png" id="downloadAction" label="label.document.download" link="#{operationActionBean.doOperation('downloadFilesZip')}" order="30" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>documentHasBlobs</filter-id>
    </action>

    <action icon="/icons/contextual_menu/subscribe.png" id="subscribesAllDocNotifications" label="label.subscriptions.follow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>hasNoSubscriptions</filter-id>
      <filter-id>canSubscribe</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/unsubscribe.png" id="unsubscribesAllDocNotifications" label="label.subscriptions.unfollow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>hasSubscriptions</filter-id>
      <filter-id>canSubscribe</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/action_add.gif" id="addCurrentDocumentToWorklist" immediate="true" label="help.command.clipboard.addworklist" link="#{operationActionBean.doOperation('addCurrentDocumentToWorklist')}" order="60" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>not_folder</filter-id>
      <filter-id>not_anonymous</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/printer.gif" id="print" label="label.print" link="#{restHelper.doPrint(themeActions.defaultTheme)}" order="70">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="restoreVersion" immediate="true" label="command.undeleteDocs" link="#{deleteActions.restoreCurrentDocument}" order="1">
      <category>DOCUMENT_SUMMARY_CUSTOM_ACTIONS</category>
      <filter-id>restoreVersionDisplay</filter-id>
    </action>
  </extension>